Process tests fail due to rust-coreutils
authorVladimir Petko <vladimir.petko@canonical.com>
Sat, 29 Nov 2025 18:56:59 +0000 (19:56 +0100)
committerMatthias Klose <doko@ubuntu.com>
Sat, 29 Nov 2025 18:56:59 +0000 (19:56 +0100)
commit3d5b20a8698ca0c0b593394ff2715a95d3c4a1a4
tree5dc65d6eeade4cecf9add4be6daa39cdcd11b65c
parent4f2610cd1dada31a929ad504784891f8e5c63348
Process tests fail due to rust-coreutils

Origin: upstream, https://github.com/openjdk/jdk/pull/25838
Bug: https://bugs.openjdk.org/browse/JDK-8359735
Reviewed-by: Roger Riggs <roger.riggs@oracle.com>
Last-Update: 2025-06-19

To accommodate systems like Ubuntu 25.10 that use Rust coreutils,
this PR updates tests that previously assumed busybox was the only
environment to use symlinks for core utilities.
- java/lang/ProcessBuilder/Basic.java: The test is updated to simply
  verify that /bin/true and /bin/false are symlinks,
  removing the hardcoded check for a /bin/busybox target.
- java/lang/ProcessHandle/InfoTest.java: The test logic is relaxed.
  It now confirms that /bin/sleep is a symlink and then uses the
  symlink's target as the expected executable name.
Last-Update: 2025-06-19
Gbp-Pq: Name jdk-8359735.patch
test/jdk/java/lang/ProcessBuilder/Basic.java
test/jdk/java/lang/ProcessHandle/InfoTest.java